package cn.hn3l.agriculture.entitis.goods;

import cn.hn3l.agriculture.entitis.contrats.Contrat;
import cn.hn3l.agriculture.entitis.goods.ProductorType;

import java.util.List;

/**
 * @Author Wang Weiwei
 * @Since 16-10-17
 * @Describe
 * 生产厂商
 */
public class Productor {
    private int id;
    private String name;
    private String describe;
    private String code;
    private List<Contrat> contrats;

    private ProductorType type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public List<Contrat> getContrats() {
        return contrats;
    }

    public void setContrats(List<Contrat> contrats) {
        this.contrats = contrats;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public ProductorType getType() {
        return type;
    }

    public void setType(ProductorType type) {
        this.type = type;
    }
}
